<template>
  <div id="customerlist"> 


          <el-table :data="list" style="width: 100%" :height="dtheight" :header-cell-style="{background:'#4F81BC',color:'white'}">

               
                <el-table-column label="客服账号"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.username }}</span>
                    </template>
                </el-table-column>
                <el-table-column label="客服密码"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.username }}</span>
                    </template>
                </el-table-column>
                 <el-table-column label="验证手机"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.username }}</span>
                    </template>
                </el-table-column>
                 <el-table-column label="客服列表"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.username }}</span>
                    </template>
                </el-table-column>
                 <el-table-column label="权限"  align='center' >                   
                    <template slot-scope="scope">                   
                        <span >{{ scope.row.username }}</span>
                    </template>
                </el-table-column>

                
 
                 <el-table-column label="操作" align='center' >
                    <template slot-scope="">
                        <el-button size="mini"  type="primary"  plain >权限</el-button> 
                    </template>
                </el-table-column>
  
            </el-table>  


   </div>
</template>

<script>

export default {
   name: 'customerlist',
   props:{
      list:{  
        //type:Array,
       default:()=>[]
     },
  },
  data () {
    return {
        dtheight:'500',  //窗口高度
    }
  },
   components:{

  },
  created(){
     this.dtheight = window.innerHeight - 160
      
  },
  mounted (){
    
  },
  methods: {
 



  }
}
</script>


<style scoped>

</style>